/**
 * QUnit Theme by Gabe Hendry
 *
 * http://docs.jquery.com/QUnit
 *
 * Copyright (c) 2012 John Resig, Jörn Zaefferer
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * or GPL (GPL-LICENSE.txt) licenses.
 */

/** General Styles and Page Sturcture */
body {
	font-family:Arial, 'sans serif';
    padding:20px 20px 0 20px;
    position:relative;
}

h1, h2, h3, h4, h5, h6, #qunit-header, #qunit-banner {
    font-family:Calibri, Arial, 'sans-serif';
}

h2 #qunit-tests, h2 #qunit-testrunner-toolbar, h2 #qunit-userAgent, #qunit-testresult {
	font-family: Arial, 'sans-serif';
}

#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
#qunit-tests { font-size: smaller; }


/** Resets */

#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
	margin: 0;
	padding: 0;
}


/** Headers */

#qunit-header {
	padding: 10px 0px 25px 0px;
	color: #3B73B9;
	font-size: 1.8em;
	font-weight: normal;
    height:2em;
}

#qunit-header a {
    text-decoration: none;
	color: #3B73B9;
    font-weight:bold;
    padding-right:22px;
    float:left;

}

#qunit-header label {
    font-size:14px;
    color:#6BC9ED;
    float:right;
    font-family:Arial, 'sans-serif';
    display: inline-block;
}

#qunit-header a + label:after {
    content: ' }';
}

#qunit-header label + label {
    margin-right:8px;
}

#qunit-header a:hover, #qunit-header a:focus {
	color: #3B73B9;
    background: url('') center right no-repeat;
}

h2, p {
    padding: 10px 0 10px 0;
    margin:0;
    font-size:1.3em;
}

p {
    padding-top:0;
    font-size:small;
    color:#7B7979;
    line-height:1.6em;
}

h2#qunit-banner {
	height: 16px;
    padding:5px 5px 5px 25px;
    line-height:16px;
    margin:0px 0 15px 0;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    background-position:0px;
    background-repeat:no-repeat;
    font-size:1em;
    font-weight:normal;
}

h2#qunit-banner.qunit-pass {
    background-image:url('');
    color:#76B900;
}

h2#qunit-banner.qunit-pass:after {
    content:'Congrats!  All of your tests passed!';
}

h2#qunit-banner.qunit-fail {
    background-image:url('');
    color:#ee3324;
}

h2#qunit-banner.qunit-fail:after {
    content:'Oops!  One or more tests failed!';
}

/** Test Runner Result Styles */

#qunit-testrunner-toolbar {
    position:absolute;
    top:55px;
    right:20px;
    color:#6BC9ED;
    font-size:14px;
}

#qunit-testrunner-toolbar:after {
    content:' }';
}

h2#qunit-userAgent {
	padding: 0;
	color: #7B7979;
    border:0;
    font-size:small;
    font-family: Arial, 'sans-serif';
    font-weight:normal;
    font-style:italic;
}

h2#qunit-userAgent:before {
    content:'User Agents: ';
}


/** Tests: Pass/Fail */

#qunit-tests {
	list-style-position: inside;
    list-style-type:none;
}

#qunit-tests li {
	padding: 4px 10px;
	list-style-position:outside;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    margin-bottom:5px;
    position:relative;
    *zoom:1;
    list-style-type:none;
}

#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running  {
	display: none;
}

#qunit-tests li strong {
	cursor: pointer;
}

#qunit-tests li a {
    display:block;
	position:absolute;
    right:10px;
    padding:0px 16px 0 0;
    font-size:0.8em;
    background:url('') bottom right no-repeat;
	color: #3b73b9;
	text-decoration: none;
    height:12px;
    top:5px;
}
#qunit-tests li a:hover,
#qunit-tests li a:focus {
	color: #6bc9ed;
    background:url('') top right no-repeat;
}
#qunit-tests li.pass strong > span {color:#76B900;}
#qunit-tests li.pass strong:first-child {
    padding-left:20px;
    background:url('') center left no-repeat;
}

#qunit-tests li.fail strong > span {color:#EE3324;}
#qunit-tests li.fail strong:first-child {
    padding-left:20px;
    background:url('') center left no-repeat;
}

#qunit-tests li ol {
	margin:0;
	padding:10px 0 0 0;
	background-color: #fff;
}

#qunit-tests li ol li {
    list-style-position: inside;
    list-style-type:decimal;
    *list-style-position: outside;
}

#qunit-tests table {
	border-collapse: collapse;
	margin-top: .2em;
}

#qunit-tests th {
	text-align: right;
	vertical-align: top;
	padding: 0 .5em 0 0;
}

#qunit-tests td {
	vertical-align: top;
}

#qunit-tests pre {
	margin: 0;
	white-space: pre-wrap;
	word-wrap: break-word;
}

#qunit-tests del {
	background-color: #add566;
	color: #555;
	text-decoration: none;
}

#qunit-tests ins {
	background-color: #f5857c;
	color: #555;
	text-decoration: none;
}

/*** Test Counts */

#qunit-tests b.counts {
    color: #7B7979;
    font-size:0.8em;
    margin-left:10px;
}

b.counts b.passed, b.counts b.failed {
    display:inline-block;
    padding:0px 1px;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    color:#FFF;
}

b.counts b.passed {
    background:#76b900;
}

b.counts b.failed {
    background:#ee3324;
 }


#qunit-tests li li {
	margin:0 0 5px;
	padding: 0.4em 0.5em 0.4em 0.5em;
	background-color: #fff;
	border-bottom: none;
    border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    overflow:auto;
}

/*** Passing Styles */

#qunit-tests li li.pass {
	color: #7B7979;
	background-color: #fff;
	border-left: 20px solid #76B900;
}

#qunit-tests .pass                          { color: #76B900; background-color: #FFF; border: 1px solid #add566; }

#qunit-tests .pass .test-actual,
#qunit-tests .pass .test-expected           { color: #999999; }


/*** Failing Styles */
#qunit-tests li.fail ol {
    background:#f7f7f7;
}

#qunit-tests li li.fail {
	color: #7B7979;
	background-color: #fff;
	border-left: 20px solid #EE3324;
	white-space: pre;
}

#qunit-tests .fail                          { color: #EE3324; border: 1px solid #f5857c; background-color: #f7f7f7; }


#qunit-tests .fail .test-actual,
#qunit-tests .fail .test-expected           { color: #999999;   }



/** Result */

p#qunit-testresult {
	padding: 10px 0;
    font-weight:bold;
    line-height:1.6em;
	color: #7B7979;
}

p#qunit-testresult span.passed, p#qunit-testresult span.failed {
    font-size:1.5em;
    font-weight:bold;
    display:inline-block;
    padding:3px;
    border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

p#qunit-testresult span.passed {
    color:#FFF;
    background:#76b900
}

p#qunit-testresult span.failed {
    color:#FFF;
    background:#ee3324;
}


/** Fixture */

#qunit-fixture {
	position: absolute;
	top: -10000px;
	left: -10000px;
    width: 1000px;
    height: 1000px;
}
